# -*- coding: utf-8 -*-


class Person:
    """人"""
    name = "person"


class Student(Person):
    def __init__(self, school_name):
        self.school_name = school_name


if __name__ == '__main__':
    user = Student(school_name="my school")
    print(user.__dict__)
    print(user.name)
    print(Person.__dict__)
    user.__dict__['age'] = 30

    print(user.__dict__)
    print(dir(user))

    lst = [1,2]
    print(dir(lst))
